<!-- 物件リクエスト確認画面 -->
<!-- InstanceEndEditable -->
	<div id="main">
		<!-- InstanceBeginEditable name="main" -->
		<!-- requestBlock -->
		<div id="requestBlock">
			<h1>{$contentsTitle}</h1>
			<p class="bar"><img src="/images/inquiry/hp/form/img_req_bar_02.jpg" alt="入力内容の確認" width="710" height="32" /></p>
			<p class="lead">ご記入いただいた内容をご確認いただき、「送信」ボタンをクリックしてください。<br />
ご記入内容を修正される場合は、ブラウザの「戻る」ボタンか、下部の「修正する」をクリックしていただき、前の画面へ戻り修正してください。 また、このページをプリントアウトなどしてお問い合わせの控えとして保存されることをおすすめします。</p>
			<div id="conditionData">
				<!-- selectDetailBlock06 -->
				<div class="selectDetailBlock06">
					<div class="section">
						<p class="title">検索条件</p>
					</div>
					<!-- innerBlock01 -->
					<div class="innerBlock01">
						<!-- innerBlock02 -->
						<div class="innerBlock02">
							<table>
								<tbody><tr>
									<th>地域・沿線</th>
									<td>{$condition1}</td>
								</tr>
								<tr>
									<th>基本条件</th>
									<td>{$condition2}</td>
								</tr>
								<tr>
									<th>こだわり条件</th>
									<td>{$condition3}</td>
								</tr>
							</tbody></table>
						</div>
						<!-- /innerBlock02 -->
					</div>
					<!-- /innerBlock01 -->
				</div>
				<!-- /selectDetailBlock06 -->
			</div>
			{if $shopList|@count > 0}
			<p class="attTxt">下記の店舗から物件のご案内をさせて頂きます。</p>
			<p class="headTable">&nbsp;</p>
			<!-- shopTable -->
			<table class="shopTable">
				<tr>
					<th>店舗名</th>
					<th>駅名</th>
					<th>住所<br />アクセス</th>
					<th>定休日<br />営業時間</th>
					<th class="last">詳細</th>
				</tr>
				<!-- お問い合わせ店舗データの数だけ表示 ここから -->
				{foreach from=$shopList item=req key=keyname name=loopname}
					<tr>
						<td>{$req.M05_TENPO_NAME}</td>
						<td>{if $req.M03_EKI_NAME != ""}
								{$req.M03_EKI_NAME}駅
							{/if}
						</td>
						<td>{$req.M05_JYUUSHO_TEXT}{$req.M05_TENPO_BANCHI}<br/>
							{if $req.M03_ENSEN_NAME != ""}
								{$req.M03_ENSEN_NAME|replace:"＊":""}
								{assign var='target' value=$req.M03_ENSEN_NAME}
								{if $target|regex_replace:'/.*＊.*/i':'ok' eq 'ok'}
								{else}
									{if $req.M05_TOHO01 != ""}
										　徒歩{$req.M05_TOHO01}分</td>
									{/if}
								{/if}
							{/if}
						</td>
						<td>
							{if $req.M05_TEIKYUUBI == "1000000"}
								月曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0100000"}
								火曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0010000"}
								水曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0001000"}
								木曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000100"}
								金曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000010"}
								土曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000001"}
								日曜日<br/>
							{/if}
							{if $req.M05_EIGYOU_ZIKAN_OPEN_H == "" && $req.M05_EIGYOU_ZIKAN_OPEN_M == "" &&
								$req.M05_EIGYOU_ZIKAN_CLOSE_H == "" && $req.M05_EIGYOU_ZIKAN_CLOSE_M == ""}
							{else}
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2}{/if}:
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2}{/if}
								～
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2}{/if}:
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2}{/if}
							{/if}
						</td>
						<td>
							<a href="/shop/shopdtl?ShopCd={$req.M05_TENPO_CD}&UseKbn=0&btn=1&SrhType=1">詳細</a>
						</td>
					</tr>
				{/foreach}
				<!-- お問い合わせ店舗データの数だけ表示 ここまで -->
			</table>
			<!-- /shopTable -->
			{/if}
			{if $requestTenpo.buken_tenpo|@count > 0}
			<p class="headTable">&nbsp;</p>
			<!-- shopTable -->
			<table class="shopTable">
				<tr>
					<th>店舗名</th>
					<th>駅名</th>
					<th>住所<br />アクセス</th>
					<th>定休日<br />営業時間</th>
					<th class="last">詳細</th>
				</tr>
				<!-- お問い合わせ店舗データの数だけ表示 ここから -->
				{foreach from=$shopList item=req key=keyname name=loopname}
					<tr>
						<td>{$req.M05_TENPO_NAME}</td>
						<td>{if $req.M03_EKI_NAME != ""}
								{$req.M03_EKI_NAME}駅
							{/if}
						</td>
						<td>{$req.M05_JYUUSHO_TEXT}{$req.M05_TENPO_BANCHI}<br/>
							{if $req.M03_ENSEN_NAME != ""}
								{$req.M03_ENSEN_NAME|replace:"＊":""}
								{assign var='target' value=$req.M03_ENSEN_NAME}
								{if $target|regex_replace:'/.*＊.*/i':'ok' eq 'ok'}
								{else}
									{if $req.M05_TOHO01 != ""}
										　徒歩{$req.M05_TOHO01}分</td>
									{/if}
								{/if}
							{/if}
						</td>
						<td>
							{if $req.M05_TEIKYUUBI == "1000000"}
								月曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0100000"}
								火曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0010000"}
								水曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0001000"}
								木曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000100"}
								金曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000010"}
								土曜日<br/>
							{elseif $req.M05_TEIKYUUBI == "0000001"}
								日曜日<br/>
							{/if}
							{if $req.M05_EIGYOU_ZIKAN_OPEN_H == "" && $req.M05_EIGYOU_ZIKAN_OPEN_M == "" &&
								$req.M05_EIGYOU_ZIKAN_CLOSE_H == "" && $req.M05_EIGYOU_ZIKAN_CLOSE_M == ""}
							{else}
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_H|substr:-2}{/if}:
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_OPEN_M|substr:-2}{/if}
								～
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_H|substr:-2}{/if}:
								{if '00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2 eq ""}--{else}{'00'|cat:$req.M05_EIGYOU_ZIKAN_CLOSE_M|substr:-2}{/if}
							{/if}
						</td>
						<td>
							<a href="/shop/shopdtl?ShopCd={$req.M05_TENPO_CD}&UseKbn=0&btn=1&SrhType=1">詳細</a>
						</td>
					</tr>
				{/foreach}
				<!-- お問い合わせ店舗データの数だけ表示 ここまで -->
			</table>
			<!-- /shopTable -->
			{/if}
			<!-- inqHouseForm -->
			<table id="inqHouseForm">
				<tr>
					<th>お名前</th>
					<td>{$NameSei}　{$NameMei}</td>
				</tr>
				<tr>
					<th>ご連絡方法</th>
					<td>
						{if $Mail != ""}
						メールアドレス：{$Mail}<br/>
						{/if}
						{if $Tel != ""}
						お電話番号：{$Tel}<br/>
						{/if}
						{if $Fax != ""}
						FAX番号：{$Fax}
						{/if}
					</td>
				</tr>
				<tr>
					<th>お問い合わせ内容</th>
					<td>{$Comment}</td>
				</tr>
				<!--キャンペーン-->
				{if ($allCampList|@count) > 0}
				<tr>
					<th>キャンペーン</th>
					<td>
					{foreach from=$allCampList item=campaign}
						{assign var="_cd" value="`$campaign.M94_CAMPAIGN_CD`"}
						{assign var="_paramname" value="CampaignFlag_`$_cd`"}
						{if ($_cd eq 17)}
							{assign var="_entry" value="希望しない。"}
							{if ($campaign.selected eq true)}
								{assign var="_entry" value="希望する。"}
								<input type="hidden" name="{$_paramname}" id="{$_paramname}" value="1" />
							{/if}
							{$campaign.M94_CAMPAIGN_NAME}を{$_entry}<br>
						{else}
							{assign var="_entry" value="応募しない。"}
							{if ($campaign.selected eq true)}
								{assign var="_entry" value="応募する。"}
								<input type="hidden" name="{$_paramname}" id="{$_paramname}" value="1" />
							{/if}
							{$campaign.M94_CAMPAIGN_NAME}に{$_entry}<br>
						{/if}
					{/foreach}
					<input type="hidden" id="CampaignAgechau" name="CampaignAgechau" value="{$CampaignAgechau}" />
					</td>
				</tr>
				{/if}
				<!--/キャンペーン-->
			</table>
<!-- 共通パラメータここから -->
{$hiddenTag}
<!-- 共通パラメータここまで -->
			<!-- attBox -->
			<table id="attBox">
				<tr>
					<td colspan="2"><p class="attTxt03">※メールアドレスのご入力間違いが増えておりますので、もう一度ご連絡先などのご確認をお願いいたします。</p></td>
				</tr>
				<tr>
					<td colspan="2">
						<ul>
								<li>
									<a href="javascript:void(0);">
									<img src="/images/inquiry/hp/form/btn_rewrite.jpg" alt="修正する" class="rollImg" onclick="javascript:requestBackToEntry();return false;"  />
									</a>
								</li>
								<li class="last">
									<a href="javascript:void(0);">
									<input name="Submit" type="image" class="rollImg" id="Submit" src="/images/inquiry/hp/form/btn_send.jpg" alt="送信" onclick="javascript:requestCnfSubmit(); return false;"  />
									</a>
								</li>
						</ul>
					</td>
				</tr>
			</table>
		<!-- /requestBlock -->
		</div>
		<!-- InstanceEndEditable -->
</div>
